package org.atovio.coolexam.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionOptions implements Serializable {

    /**
    * 主键
    */
    private Integer id;
    /**
    * 题目id
    */
    private Integer questionId;
    /**
    * 选项内容
    */
    private String content;
    /**
    * 是否为正确选项，多选题时有多个正确选项
    */
    private Integer isCorrect;
    /**
    * 选项顺序
    */
    private Integer order;
}
